import cn.hutool.core.date.DateTime;
import cn.hutool.core.date.DateUtil;
import com.genius.reservation.car.service.ICarInformationService;
import org.junit.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
//@RunWith(SpringJUnit4ClassRunner.class)
//@SpringBootTest(classes = unite_platformApplication.class)

@SpringBootTest()
public class test {



    @Autowired
    ICarInformationService carservice;
    @Test
    public void test(){
//        DateTime now = DateTime.now();
//        DateTime parse = DateUtil.parse("2022-05-26 15:39:13");
//        int i = parse.year();
//
//        System.out.println(i);
        System.out.println(carservice.list());
    }
}
